package com.stylefeng.guns.modular.hhtb.service.impl;

import com.baomidou.mybatisplus.plugins.Page;
import com.stylefeng.guns.modular.hhtb.model.Realname;
import com.stylefeng.guns.modular.hhtb.dao.RealnameMapper;
import com.stylefeng.guns.modular.hhtb.model.RealnameDto;
import com.stylefeng.guns.modular.hhtb.service.IRealnameService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 实名认证信息表 服务实现类
 * </p>
 *
 * @author slt
 * @since 2018-09-12
 */
@Service
public class RealnameServiceImpl extends ServiceImpl<RealnameMapper, Realname> implements IRealnameService {

    @Autowired
    private  RealnameMapper realnameMapper;

    @Override
    public List<RealnameDto> selectAll(Page<RealnameDto> page, Realname realname) {
        List<RealnameDto> list = realnameMapper.selectAll(page,realname);
        return list;
    }
}
